package cn.kk.Blog.service.impl;
/*
 *@author KK on 2022.12.03 10:29
 */

import cn.kk.Blog.dao.IUserDao;
import cn.kk.Blog.dao.UserDaoImpl;
import cn.kk.Blog.entity.TUser;
import cn.kk.Blog.service.IUserService;

public class UserServiceImpl implements IUserService {
    IUserDao userDao = new UserDaoImpl();
    @Override
    public TUser getUserByName(String username) throws Exception {
        return userDao.selectByName(username);
    }
}
